<?php

include '../beans/User.php';
include '../ManejoBase.php';

$mb = new ManejoBase();

$user1 = new User(1, "angel", "qwerty123", "detroit3071_@hotmail.com", "", "");

echo $mb->login($user1)."<br /><br />";

$regresaAmigos = $mb->regresaAmigos($user1->getIdUser());
while($row = mysql_fetch_array($regresaAmigos)){
    echo "Nombre de amigo: ".$row['nombre']."  ".$row['correo']."<br />";
}

?>
